package request

import (
	"time"

	"gitcode.com/G-YT/iHealth25/server/model/common/request"
)

type ProductSearch struct {
	CreatedAtRange []time.Time `json:"createdAtRange" form:"createdAtRange[]"`
	Name           *string     `json:"name" form:"name"`
	ProductType    uint        `json:"productType" form:"productType"`
	Status         *bool       `json:"status" form:"status"`
	request.PageInfo
	Sort  string `json:"sort" form:"sort"`
	Order string `json:"order" form:"order"`
}
